func go/types.isTypeParam
42 uses
go/types (current package)
assignments.go#L41: if T == nil || IsInterface(T) && !isTypeParam(T) {
builtins.go#L93: case isTypeParam(S):
builtins.go#L196: if !isTypeParam(x.typ) {
builtins.go#L319: assert(!isTypeParam(typ))
builtins.go#L447: assert(!isTypeParam(typ))
builtins.go#L813: return isTypeParam(t)
call.go#L140: if t, _ := under(T).(*Interface); t != nil && !isTypeParam(T) {
conversions.go#L44: case constArg && isTypeParam(T):
conversions.go#L104: if IsInterface(T) && !isTypeParam(T) || constArg && !isConstType(T) || x.isNil() {
conversions.go#L151: if IdenticalIgnoreTags(under(V.base), under(T.base)) && !isTypeParam(V.base) && !isTypeParam(T.base) {
decl.go#L593: if isTypeParam(rhs) {
decl.go#L633: if isTypeParam(bound) {
expr.go#L609: if !isTypeParam(target) {
expr.go#L691: if isTypeParam(target) {
expr.go#L831: if isTypeParam(x.typ) || isTypeParam(y.typ) {
expr.go#L833: if !isTypeParam(x.typ) {
expr.go#L882: if isTypeParam(typ) {
expr.go#L1084: if IsInterface(x.typ) && !isTypeParam(x.typ) || IsInterface(y.typ) && !isTypeParam(y.typ) {
expr.go#L1559: if isTypeParam(x.typ) {
index.go#L104: if !isTypeParam(x.typ) {
infer.go#L527: if core.tilde && !isTypeParam(tx) {
lookup.go#L73: if enableTParamFieldLookup && obj == nil && isTypeParam(T) {
lookup.go#L415: if p, _ := under(T).(*Pointer); isTypeParam(p.base) {
object.go#L416: if isTypeParam(typ) {
predicates.go#L91: func isTypeParam(t Type) bool {
predicates.go#L147: return dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen)
predicates.go#L160: return !isTypeParam(t) || u.typeSet().underIs(func(u Type) bool {
sizes.go#L72: assert(!isTypeParam(T))
sizes.go#L159: assert(!isTypeParam(T))
stmt.go#L689: if isTypeParam(x.typ) {
struct.go#L159: if isTypeParam(t) {
typeparam.go#L118: if isTypeParam(bound) {
typeset.go#L275: assert(!isTypeParam(typ))
typeset.go#L407: assert(!isTypeParam(t.typ))
typexpr.go#L155: if isTypeParam(typ) {
typexpr.go#L354: if isTypeParam(typ.key) {
unify.go#L361: if isTypeParam(x) && !hasName(y) {
unify.go#L379: } else if isTypeParam(y) && !hasName(x) {
union.go#L151: if isTypeParam(typ) {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)